added functions to condom