- can now take calback function as argument instead of just HTML