add logger
desposit to a class