Adds main source