Renaming functions and added method chaining