added trunc function