added directions class
fixed to get primary and secondary methods