seperated each slider into its own function