[TASK] Move initializeObject method to top of class