implemented render shortcut properly and removed some logic from views