moved encoder up; added overloaded method for confirmation method