Implements the web version