Order of the expressions in behaviour is added. Fixed some errors.