fixing final issues with whats going on in the phased presentation. This brings the code to expected working behavior.