updated documentation, made direction checking less restrictive