Change purchase method to public