loop closed and parser code added