initial implementation
added parameters
added readme
merge