some web code from class