got the perm gen to work they had their array starting from 1 in the sudocode. seems to work for the complex code. Could add feature to work with more than 2 emnzymes. Yeah right ;)