uncomplicate code and atomic functions