added new methods for view controllers