Removed shitty old template code