Removed un-used prototype
Added result stack index