field properly checking input