objects being created correctly