added atomic function for pyelixys server to make client side simpler and prevent points of failure