added some entry criteria and changed the logging format