added memcheck example