Added logger and assault function