removed less interesting functions