added slider for user inout