working phase 4 & 5