init, views changed to work on server