Implement ASWAM function