converted to use durandal