Working verion without aet