I can't quite work out what exactly you mean here.
Please can you post a reproducible example, and include the printed
output, or whatever is necessary to demonstrate what it is that you are
unsatisfied with. Reproducible means that it doesn't depend on external
data sets such as 'stns2'. Just make up toy data.
Dan