partial code related to the 45464761 story