updated handling of priority and completed properties
minor changes