change default function