conditional for titles