added predicate for getting the arm used for manipulation from mongodb