readme and initial function added