removed uncalled functions