changed function names to avoid future name collision