Changed some names to explain them better in code;