implemented simple atomic long from week 2