Initial attempt at using the slider