working through problem serializing commands