set and select commands implemented