added input test