added input warning