input now platform independent