Implements parsing and ambient light