depend on framesize and add autoloads