converting types as needed
ignoring bin directories