added vargs
refactoried account.h