finished hackish implementation of identifying elements in the post processing