added styling and selected property