implemented some more callbacks