bin commands and structure