changed remaining check_call