made it to work properly.  need more improvement.