Implemented 7th variant