added find functions for memory protection