added prototype and empty swap function