It isn't simple but it is correct? Because I wrote the code the copyright on what parts is explicit.