more atomic implementations, closes #874