Update custom.cpp