DaveC,

i took your advice and copied the events that were in the behaviours into the main code, and it worked.