Combined two functionally identical methods