renamed some variables and changed constructor of Gun