added profile code to future example