added very buggy ATA related stuff :/