removed a bug
added ssd alloc, just the initial part