add alms conversion functions