separated into 3 phases