Refactored POS fragment