Implement modification 4

A quick test proved it worked.