changed visiblity to private for action class