renamed two methods that esentially did the same