adding loggin, needs clean up