removing non-used function