some lousy implementaion of picture and table references done