working on attempts directive. Not ready yet