merge some codes from home computer