A synthesis of behavioural and mainstream economics