trying to get it done for the server