method now works with both with or without arguments