Tip experiment code