prepping for server side solution