set and get method created for new variable violations