Added code for First Triangle