Indentation is off. Move under eventLength. This is the case with each event but I'll spare you the comment spam.