Fixed syntax, added implementation of phase1 bullying functions.