gotta update comments and fix preferences selector