added in some photologue functionality