readme and functions added