tested the select() command also.