added a new partial, made changes to mainjs