reformatted for VIP code standards