nit: how about validating, that the s, w, n ,e are not just there but are actually numbers?