removed rendering from initialization