Updated sample .ts