should not be done here, add lifecycle management in the lifecycle