merge two identical methods, lol