worked on using github

changed byte to int so there is not a var mismatch