started writing object page view function, template