Write credit & debet function