- rewrote a lot local variables to an array and returned it instead of an anonymous array - added more debug/warning logging in case something went wrong -> lesser guessing! ;-) - changed double-quote to single