minor assembly code cleanup
added function wrapper