removed not needed helper variable