changed function name a little