Attempt #2 changed durandal code