pass a atom as first parameter to distinguish between methods.