add initial profile handling