added marginl, marginb and ordering options