remove option from output method and use attribute instead