Got Eric's code fully working