added task 4 (with explicit size)