another take on 3 and a stab at 5.