added avai stuff