make input data const
simple cleanup