add temp codes for preference