added 2 delegate methods.