separated views code from page, 'cause i want to