make select more dynamic