fixed private methods