corrected unecessary stalling; still testing