New Function Bug Fix