Commented out encoder stuff