fixed up prefix naming, handling. now just using 'prefix' attribute