Removed unnecessary line from the action block and into a setup method