Removed extra initialization function