Improved solutions for 3.3.3.4 and 3.3.3.5