set coding=utf8
Added account-function. Sorted the code.