static added to function