splitting code around..