removing some bad use; application trait