code cleanup: deleted old constructor