added helper functions to basic_kin