Creating a reference point to solve error when compiling