Added create logic