Refactor: removed render from model