Change name of method to fix notice errors