refactor to use Chingu