Created bar controller