works for 1024 now