Added beginning and end frames