amd preparations
list dependencies
bug fixes and minor refactoring