Added prototype line stuff
Minor changes