setting up listener events
testing event
setting values
setting bar size