basic input checking
naming