mostly working but select statments are not working