removed function call in favor of object