first dirty implementation for the client