implement safe