added checking for get inputs