commit with working dysplay function other functions not working right now