added private methods inthe video controller