Added code for a few methods