Added a protection for when the method is called without arguments