basic utils and mirroror in place