add comment to cleanup this code