memmory mapping related bug resolved..still smaller bugs present