ported to new play framework