finsihed coding need to debug