classes setup