added return values to all paths
began work on dragging functionality