Implementing methods to make it more understandable