Added work anchor and associated if/else statement