more quick prototype code.