finished mem checks, all working