working before classes