Bug Squashing : Setting state