added inputtest